home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / educate / ds5qz21.zip / DOS5QUIZ.DOC next >
Text File  |  1992-09-07  |  21KB  |  440 lines

  1.  
  2.                             DOS 5 QUIZ DOCUMENTATION
  3.  
  4.  
  5. 1.  What is DOS 5 Quiz?
  6. 2.  Running DOS 5 Quiz
  7. 3.  DOS 5 Quiz Questions
  8. 4.  Registration Info
  9.  
  10.                               WHAT IS DOS 5 QUIZ?
  11.  
  12.      DOS 5 Quiz is based upon the popular DOS Quiz program, and follows in the
  13. footsteps of Advanced DOS Quiz (ADQ).  DOS 5 Quiz is a test of the user's 
  14. knowledge and ability to use the features of Microsoft's latest DOS version,
  15. MS-DOS 5.0.  DOS 5.0 has been widely lauded in the computer industry as the 
  16. best DOS ever.  Most users of DOS 5.0 do not use all of its new features.  This
  17. is a shame, since many of them can make your DOS-using life much easier.  If
  18. nothing else, hopefully DOS 5 Quiz will make you look in your manual for 
  19. answers, and you will learn something new from there.
  20.  
  21.      For users who are well-versed in DOS 5.0 and its new features, DOS 5 Quiz
  22. will let you know just how good you really are.  And even you may learn some-
  23. thing new!
  24.  
  25.      DOS 5 Quiz takes the user through a series of 20 questions, asking the user
  26. to perform tasks in DOS 5.  Unlike in DOS Quiz, none of DOS 5 Quiz's questions
  27. are categorized as basic or advanced.  For the most part, they are not required
  28. knowledge in the everyday use of DOS.  Therefore, you may assume that a high
  29. score in DOS 5 Quiz relates to an advanced knowledge of DOS 5.0.
  30.  
  31.      At the end of the Quiz, a score screen is displayed, which shows a listing
  32. of all of the questions asked, what the main concept of the question was, and
  33. whether the user answered the question correctly or not.  The number and
  34. percentage of questions answered correctly is also shown on the score screen.
  35.  
  36.      DOS 5 Quiz may be used to find out who in your office needs work on their
  37. DOS knowledge, or as a screen for new employees.  Though not designed to be a
  38. DOS tutor, along with the documentation, it may make you question how you now 
  39. perform tasks in DOS and prompt you to read your manual in depth.  Learning
  40. is the main goal of this program.
  41.  
  42.                                RUNNING DOS 5 QUIZ
  43.  
  44.      Running DOS 5 Quiz is really quite simple - all you need to do is type
  45. DOS5QUIZ at the DOS prompt and away you go.  The program is completely self-
  46. contained, so no outside files are needed.  The program is small, so it will run
  47. on nearly any DOS machine.  
  48.  
  49.      This implementation of DOS 5 Quiz uses either a color monitor or a
  50. monochrome monitor.  Monochrome monitors that emulate color monitors (such as 
  51. b/w VGA) will work fine in color mode.  The use of color in the program has 
  52. been kept to a minimum to allow usage on a wide range of computers.  DOS 5
  53. Quiz will automatically detect the best mode for using DOS 5 Quiz (color or
  54. monochrome) and adjust itself accordingly.  DOS 5 Quiz also detects when EGA
  55. or VGA users have their displays set to 43 or 50 line modes.  DOS 5 Quiz, and
  56. all other DOS Quiz products, use 25-line mode.  But when it exits, the mode
  57. you had going in will be the one you have coming out.  Note that you can force
  58. DOS 5 Quiz to use monochrome mode (if your video allows it) by passing the /m
  59. option to DOS 5 Quiz (ex:  C:> DOS5QUIZ/m).
  60.  
  61.      After typing in DOS5QUIZ, an intro screen will appear.  After pressing any
  62. key as requested, the user will be prompted for his or her name and Social
  63. Security Number.  This is for score-sheet identification purposes.  The user is
  64. asked to verify his or her entry.  An instruction screen will then appear. 
  65. After reading the instructions and pressing any key, the quiz begins.
  66.  
  67.      After finishing 20 questions, the score screen will appear.  Three 
  68. function keys are active here.  F1 will print a scoresheet out on a parallel
  69. printer in port LPT1.  F2 will prompt you for a filename to save a score-
  70. sheet to (with the user's input name as the default filename).  If the filename
  71. given exists, you will be given a chance to change your choice.  F3 quits the
  72. score screen and the user will be asked if the quiz is to be taken again.  This
  73. is a Yes or No question.  If Yes, the screen will go back to the Name/SSN 
  74. screen.  If No, then DOS 5 QUIZ will return control to DOS.
  75.  
  76.      If a user does not know the answer to a question, he or she can either
  77. guess or just press ENTER to skip answering.  DOS 5 Quiz will mark the question
  78. as being incorrectly answered and move on.
  79.  
  80.                                DOS 5 QUIZ QUESTIONS
  81.  
  82.      The following is a listing of all questions asked in DOS 5 Quiz, and their
  83. correct responses.  Note that though the "correct" answers are all presented
  84. here in uppercase, all variations of upper and lower case are valid, as in DOS.
  85. Note also that whenever a / switch appears, a space is shown preceding the /.
  86. This space is optional in both DOS and DOS 5 Quiz.  It is used for clarity.
  87.  
  88. 1  Show directory of hidden files
  89.  
  90. The user is asked to type the DOS command and it switch that will show the
  91. user all hidden files in the current directory (C:\).  This command makes use
  92. of the DOS 5.0 DIR command's /A switch, which allows you to show files that 
  93. have a certain attribute byte set.  Valid answers are:
  94.  
  95. DIR /AH         DIR /AH *      DIR /AH *.*      DIR /AH \*" 
  96. DIR /AH \*.*    DIR /AH ./*    DIR /AH .\*.*
  97.  
  98. The directory portion of the command may be preceded by C:.  Also, the /AH 
  99. portion of the command may be typed in as /A:H.
  100.  
  101.  
  102.  
  103. 2  Show all files except for subdirectories
  104.  
  105. The user is asked to type the command and its switch that will show all files
  106. in the current directory (C:\) except for the names of subdirectories.  This
  107. command also takes advantage of the DOS 5.0 DIR command's /A switch, but 
  108. illustrates its ability to limit the files it shows, as opposed to including
  109. them, as in question 1.  Valid answers are:
  110.  
  111. DIR /A-D         DIR /A-D *      DIR /A-D *.*      DIR /A-D \*" 
  112. DIR /A-D \*.*    DIR /A-D ./*    DIR /A-D .\*.*
  113.  
  114. The directory portion of the command may be preceded by C:.  Also, the /A-D
  115. portion of the command may be typed in as /A:-D.
  116.  
  117.  
  118.  
  119. 3  Show all files sorted by extension
  120.  
  121. The last question concerning the DIR command, this question asks the user to
  122. display all files in the current directory (C:\), sorted by file extension.
  123. This command illustrates the DOS 5.0 DIR command's new /O switch, to change the
  124. sort order of the display.  Standardly, the sort order is the order that the
  125. files appear on the disk.  Valid answers are:
  126.  
  127. DIR /OE         DIR /OE *      DIR /OE *.*      DIR /OE \*" 
  128. DIR /OE \*.*    DIR /OE ./*    DIR /OE .\*.*
  129.  
  130. The directory portion of the command may be preceded by C:.  Also, the /OE
  131. portion of the command may be typed in as /O:E.
  132.  
  133.  
  134. 4  Show current memory usage and program sizes
  135.  
  136. One of DOS 5.0's most exciting features is its better use of memory, particu-
  137. larly in 286 and 386 machines.  Along with a memory manager, the MEM command
  138. is included to give the user a better picture of how memory is being used. 
  139. Here, the user is asked to type the command and switch that will show the what
  140. programs are currently loaded in upper and conventional memory, as well as
  141. show details of system memory usage.  Valid answers are:
  142.  
  143. MEM /C    MEM /CLASSIFY
  144.  
  145.  
  146. 5  Show details of programs currently loaded in memory
  147.  
  148. Another test of the usage of MEM, the user is asked to type the command that 
  149. will show the memory location of each program now loaded, and how large each
  150. program is.  The command also gives a summary of memory usage.  Valid answers
  151. are:
  152.  
  153. MEM /P    MEM /PROGRAM
  154.  
  155.  
  156. 6  Show list of DOS's commands
  157.  
  158. For new users and old users alike, DOS's HELP facilities are an important new 
  159. addition to DOS 5.0.  Though many of the on-line help screens can be cryptic
  160. and confusing to new users, they are better than the curt error messages of 
  161. the past.  The user here is asked to type a command that will show them a list
  162. of DOS commands, and a brief description of each.  The only valid answer is:
  163.  
  164. HELP
  165.  
  166.  
  167. 7  Get help on a command
  168.  
  169. Having on-line help is fine, as long as you know to get to it.  This 
  170. question asks the user to get help on the DIR command.  Valid answers are:
  171.  
  172. HELP DIR    DIR /?
  173.  
  174. The /? switch is DOS 5.0's standard switch for getting help on any DOS command.
  175. This standard is being adopted by software authors as well.  For example, all
  176. DOS Quiz programs have help information that is given when the /? is passed.
  177.  
  178. 8  Show list of DOSKEY macros
  179.  
  180. Macros have become a really big thing in the world of computing - used in 
  181. everything from word processors to spreadsheets.  And now, DOS is in on the
  182. action.  Batch files have been around a long, long time, and have found many,
  183. many uses.  But many users of DOS 5.0 are finding that macros cam be even 
  184. better.  They can actually replace DOS commands (like DIR); batch files
  185. cannot.  And many DOS users can save a good chunk of disk space by converting
  186. their short time-saver batch files to DOSKEY macros.  This question tells the
  187. user to assume that DOSKEY is loaded in memory, and that a set of macros have
  188. also been loaded.  The macros listed by DOS 5 Quiz include front-ends for
  189. commands, quick aliases for long commands, and a set of work-alikes named
  190. after Unix commands.  Valid answers are:
  191.  
  192. DOSKEY /M    DOSKEY /MACROS
  193.  
  194.  
  195. 9  Set DOS version alias for a program
  196.  
  197. DOS 5.0's developers wanted DOS 5.0 to be the run-all and do-all of the DOS
  198. world.  They were aware that many programs fail miserably when not run under
  199. the version of DOS for which they were designed, but not because of failings
  200. in DOS 5.0's coding.  It was because many programs have required version
  201. numbers hard-coded right into the application.  So DOS 5.0 contains a 
  202. utility to fool these programs into thinking that they are running another
  203. version of DOS.  This question asks the user to set the version for a
  204. make-believe program called PROG.EXE to DOS 3.3.  Valid answers are:
  205.  
  206. SETVER PROG.EXE 3.3    SETVER PROG.EXE 3.30
  207.  
  208.  
  209. 10 Record file system info for disaster recovery
  210.  
  211. Many shareware and commercial authors made a fortune by capitalizing "utilities
  212. that DOS forgot."  Two of these utilities have questions detailed below, but
  213. they both, if they are to work best, rely on the MIRROR command to create a
  214. file that contains important information about your disks and diskettes.  Here,
  215. the user is asked to run the command that will create this file.  At the same
  216. time, the user is to load a TSR that maintains a deletion-tracking file to
  217. keep track of files that are deleted from drive C for possible future recovery.
  218. The only valid answer is:
  219.  
  220. MIRROR C: /TC
  221.  
  222. 11 Show list of deleted files available for recovery
  223.  
  224. One of the "utilities that DOS forgot" that was written and rewritten by 
  225. software authors for years was an undelete utility.  Previous DOS made it very
  226. easy to delete files, but not so easy to recover them.  Rather than reinvent
  227. the wheel, Microsoft went to Central Point and licensed their UNDELETE utility
  228. for use in DOS 5.0.  It can either use the deletion-tracking file created and
  229. maintained by MIRROR or not.  Here, the user is asked to use the UNDELETE
  230. command to show a list of files that can be undeleted from the current 
  231. directory (C:\).  The user is told to explictly tell UNDELETE to use the 
  232. deletion-tracking file to generate the list (though this is the default).
  233. Valid answers are:
  234.  
  235. UNDELETE /LIST /DT        UNDELETE *.* /LIST /DT
  236. UNDELETE * /LIST /DT      UNDELETE /*.* /LIST /DT
  237. UNDELETE /* /LIST /DT     UNDELETE ./*.* /LIST /DT
  238. UNDELETE ./* /LIST /DT
  239.  
  240. The /LIST and /DT switches' positions may be swapped, as well.  The directory 
  241. portion of the command may be preceded by C:.
  242.  
  243.  
  244. 12 Show what will happen if UNFORMAT were to run
  245.  
  246. A second "utility that DOS forgot" was an unformat utility.  Borrowing again
  247. from Central Point, Microsoft added the UNFORMAT command to DOS 5.0.  When
  248. used on a diskette formatted with a special unformat file on it, the UNFORMAT
  249. command can completely restore a diskette that had been formatted by the 
  250. FORMAT command, or which had been restructured by the RESTORE command.  Like
  251. the UNDELETE command, it can also use standard DOS information to reconstruct a
  252. diskette.  This method is slower and less reliable, but handy if needed.  The
  253. user here is asked to have DOS tell the user what it will do with a newly
  254. formatted diskette in drive A.  The user is to explicitly tell UNFORMAT not
  255. to use the special unformat file to gather this information.  The user is also
  256. instructed to have the output of the UNFORMAT command print out to the 
  257. printer hooked to the LPT1 port.  The valid answers are:
  258.  
  259. UNFORMAT A: /TEST /P    UNFORMAT A: /P /TEST
  260.  
  261.  
  262. 13 Quick format a previously formatted diskette
  263.  
  264. Convenience is one of the strong points of DOS 5.0.  And one of the most time
  265. consuming things you can do (aside from full-system backups!).  DOS 5.0 gives
  266. you the option of quick-formatting a diskette.  This quick format erases the
  267. diskettes File Allocation Table and all files in the root directory - all 
  268. other parts are left alone, as these two actions effectively delete all data
  269. on the diskette.  This procedure is not recommended for diskettes that have
  270. had problems or errors, as it does not check the diskette for integrity.  
  271. This question asks the user to quick-format the diskette in drive A.  To make
  272. the format even faster, you may add the /U option which will not create an 
  273. unformat file for this diskette, The valid responses are:
  274.  
  275. FORMAT A: /Q        FORMAT A: /Q /U         FORMAT A: /U /Q
  276.  
  277. 14 Load a program incompatible with DOS 5.0 memory management
  278.  
  279. Some older programs assume that they will be loaded in a certain part of 
  280. memory.  DOS 5.0, however, does a pretty good job of completely taking over
  281. your computer's memory and using it in the most efficient manner.  If you try
  282. to load a program and you see a "Packed File Corrupt" message, then your 
  283. program is trying to load itself somewhere it cannot.  By using the LOADFIX
  284. prefix, you can solve these problems.  DOS ensures that your program is not
  285. loaded too low in memory.  This question asks the user to solve the "Packed
  286. File Corrupt" problem by using LOADFIX on the program PROG.EXE.  Valid
  287. responses are:
  288.  
  289. LOADFIX PROG.EXE    LOADFIX PROG
  290.  
  291.  
  292. 15 Load a TSR into upper memory
  293.  
  294. One of DOS 5.0's memory techniques for 286 (and higher) machines is to allow
  295. device drivers and TSRs (Terminate but Stay Resident) to move out of 
  296. conventional memory (using precious RAM that your programs need for themselves
  297. and their data), and into upper memory.  Upper memory is better explained in
  298. your DOS manual, so I will assume you will read that.  Suffice it say, moving
  299. your device drivers and TSRs to upper memory can give you more conventional
  300. memory than DOS 2.11 gave you years ago.  This question asks the user to load
  301. a TSR called MOUSE.COM into upper memory.  The valid responses are:
  302.  
  303. LOADHIGH MOUSE        LH MOUSE
  304. LOADHIGH MOUSE.COM    LH MOUSE.COM
  305.  
  306.  
  307. 16 Run a QBasic program immediately after loading
  308.  
  309. A vast improvement over DOS's standard GW-BASIC is DOS 5.0's QBasic.  QBasic
  310. is a Basic interpreter based upon Microsoft's QuickBasic compiler.  QBasic is
  311. great for whipping off small programs that have more capability than batch
  312. files yet are quicker and easier to write than full-fledged programs in C or
  313. compiled Basic.  It is also free with DOS 5.0.  The question asks the user 
  314. to load the QBasic program \DOS\PROG.BAS into QBasic and run it immediately
  315. after loading.  The user runs the command from \.  Valid responses are:
  316.  
  317. QBASIC /RUN \DOS\PROG.BAS     QBASIC /RUN DOS\PROG.BAS
  318. QBASIC /RUN .\DOS\PROG.BAS    QBASIC /RUN \DOS\PROG
  319. QBASIC /RUN DOS\PROG          QBASIC /RUN .\DOS\PROG
  320.  
  321. The filename portion of the command may be preceded by C:.
  322.  
  323.  
  324. 17 Run the DOS Shell in text mode
  325.  
  326. One of the big things keeping many people away from DOS nowadays is the 
  327. belief that DOS is just too hard to learn.  Menuing programs, Windows, Desk-
  328. Mate, Ensemble; they have all had success because they insulate the user 
  329. from the command line.  The included DOS Shell is intended to do the same
  330. thing - make DOS easier for the novice to use.  The DOS Shell was introduced 
  331. in the ill-fated DOS 4.0.  It is improved upon in DOS 5.0, both in terms of
  332. looks and usability.  Though it looks nicest in its graphics modes, here the
  333. user is asked to start the DOS Shell in text mode.  The valid response is:
  334.  
  335. DOSSHELL /T
  336.  
  337. 18 Call up a history of commands
  338.  
  339. When DOSKEY is loaded, not only does it keep track of and run macros, but it
  340. also keeps track of the last 10-20 commands that you have run, all dependent
  341. upon how much memory DOSKEY has been given and how long your commands are.
  342. A list of these commands may be called up by pressing the F7 key when DOSKEY
  343. is in memory.  This question asks the user to press the key that will show
  344. them a command history.  Typing on the command line is permitted, but pressing
  345. any function key other than F7 is incorrect.  The valid response is:
  346.  
  347. <F7>
  348.  
  349.  
  350. 19 Run a command by history number
  351.  
  352. When pressing F7, each of the commands displayed is given a command number.
  353. By hitting F9, DOSKEY asks you which command number you wish to pull from 
  354. memory.  Once you select a number, you can edit the command at will.  This
  355. question asks just for the keypress.  Typing on the command line is permitted,
  356. but pressing any function key other than F9 is incorrect.  The valid response
  357. is:
  358.  
  359. <F9>
  360.  
  361.  
  362. 20 Setting DIRCMD environment variable
  363.  
  364. The DOS 5.0's DIR command is very handy with all of its new options, but once
  365. you find a favorite listing combination, it can become very tedious to type in
  366. time and time again.  DOS 5.0 makes it easy by allowing you to enter your
  367. favorite DIR switches in the DIRCMD environment variable, much in the way that
  368. you set your default search path in the PATH variable.  The question asks the
  369. user to set DIRCMD so that files are sorted by file name as a default.  The
  370. valid answer is:
  371.  
  372. SET DIRCMD=/ON
  373.  
  374. Note that there may be a space on the right side of the = only.
  375.  
  376.                             DOS 5 QUIZ REGISTRATION
  377.  
  378.                                   Registration
  379.  
  380. DOS5QUIZ is shareware, and I retain all copyrights to the program.  If you use
  381. and like DOS5QUIZ, I request that you donate $15 to continue to use it.  If you
  382. do, and also send a diskette (5¼ or 3½ Double or High density), I will include 
  383. the newest version of DOS5QUIZ, as well as any bonus utilities I have written at
  384. that time.  Please enclose an extra $1 to cover postage, and be sure to enclose
  385. your address. 
  386.  
  387. If you would like to register your copy of DOS5QUIZ and would like me to send
  388. you a diskette with the latest version of DOS5QUIZ on it, please send an extra
  389. $2 to cover postage and diskette costs.
  390.  
  391. If you would like a customized version of DOSQUIZ, the cost is $100, including
  392. one license fee.  Site licensing is available.  See the file PRICE.LST for
  393. details.
  394.  
  395.  
  396.                   REGISTRATION NOW EASIER FOR COMPUSERVE USERS
  397.  
  398. You may now register DOS5QUIZ through CompuServe's Shareware Registration 
  399. Service.  To use the service, GO SWREG and register program #25. 
  400.  
  401.  
  402.                 SPECIAL DISCOUNT FOR USERS OF DOSQUIZ AND/OR ADQ
  403.  
  404. As mentioned in the Introduction, DOS Quiz is the first in the DOS Quiz series.
  405. ADQ is the Advanced "power-user" test of DOS talents.  These two programs have
  406. quite large following.  If you wish to become part of the DOS Quiz family by
  407. registering any combination of the DOS Quiz programs, you will be getting some
  408. great training/testing tools at a great price.  Any two DOS Quiz programs may
  409. be registered for $20 (a savings of $10), all three for $25 (a savings of $20).
  410. The same diskette and postage charges outlined above apply.  See the enclosed
  411. file PRICE.LST for and invoice and other ordering info.  The latest versions
  412. of all DOS Quiz products can be downloaded from the IBMAPP forum on CompuServe.
  413.  
  414. Send orders/questions/requests to:
  415.  
  416. Steve Mount 
  417. RR 1 Box 320 
  418. Starksboro, VT  05487-9702 
  419. USA
  420.  
  421. Contact me on CompuServe.....: 73720,3404
  422.  
  423. Contact me on America On-Line: Mountain
  424.  
  425. Call for support/ordering....: (802) 453-5273
  426.  
  427. I have fax capability at the above number for orders, but you must call me
  428. to have my fax set up before faxing (it is a card and shares the line with
  429. my answering machine).
  430.  
  431. THE DOS5QUIZ PROGRAM AND THIS MANUAL ARE COPYRIGHTED DOCUMENTS.  THE OWNER OF 
  432. THE COPYRIGHT GIVES OTHERS PERMISSION TO DISTRIBUTE UNALTERED COPIES OF THE 
  433. PROGRAM AND DOCUMENTATION TO OTHER INTERESTED PARTIES.  THIS PROGRAM IS NOT IN 
  434. THE PUBLIC DOMAIN.  IF YOU USE DOS5QUIZ, PLEASE PAY THE REGISTRATION FEE.  IT 
  435. WILL ENSURE CONTINUED GROWTH OF THE PROGRAM FOR ALL USERS.
  436.  
  437.           DOS5QUIZ AND DOCUMENTATION COPYRIGHT (C) 1992 BY STEVE MOUNT 
  438.                               ALL RIGHTS RESERVED. 
  439.  
  440.